package com.yllt4cloud.ddauth.service;

import com.yllt4cloud.common.ddbase.domain.ClerkConfirmAuthority;
import com.yllt4cloud.ddauth.service.base.IBaseService;

/**
 * 
 * <br>
 * <b>功能：</b>IClerkConfirmAuthorityService<br>
 * <b>作者：</b>Administrator<br>
 * <b>日期：</b> Wed Feb 13 19:03:51 CST 2019 <br>
 * <b>版权所有： 2016,yllt.com<br>
 */ 

public interface IClerkConfirmAuthorityService extends IBaseService<ClerkConfirmAuthority> {

    /**
     * 验证员工的权限
     * @param clerkId
     * @param url
     * @return
     */
    public Integer validateClerkAuthority(Integer clerkId, String url);


    public boolean  validateUrlQuanXian(Integer clerkId, String url);


    /**
     * 验证 当前请求的url  在 base_confirmauthority 中，却不在 base_authoritymode 中的权限，员工是否有权限
     * @param clerkId
     * @param url
     * @return
     */
    public boolean  checkNotInTabAuthoritymodeUrl(Integer clerkId, String url);
}
